package com.cheng.pojo;
/**
 * 班级类
 * 记录班级的角色，权限
 * @author pc
 */
public class Class {
    //班级id
    private String cid;
    //用户id
    private String userID;
    private String name;
    private String power;
    //用户状态 0未签到 1已签到 2 请假
    private String state;


    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPower() {
        return power;
    }

    public void setPower(String power) {
        this.power = power;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Class{" +
                "cid='" + cid + '\'' +
                ", userID='" + userID + '\'' +
                ", name='" + name + '\'' +
                ", power='" + power + '\'' +
                ", state='" + state + '\'' +
                '}';
    }

    public Class(String cid, String userID, String name, String power, String state) {
        this.cid = cid;
        this.userID = userID;
        this.name = name;
        this.power = power;
        this.state = state;
    }
}
